﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;

namespace API.Models
{
    public class PartnerDbContext : DbContext
    {
        public PartnerDbContext(string connectionString) : base(connectionString) { }
        public PartnerDbContext() : base("PartnerDbConnectionString") { }

        public DbSet<EXT_ATTACHMENTS> EXT_ATTACHMENTS { get; set; }
        public DbSet<SEC_COMPANIES_ACCESS> SEC_COMPANIES_ACCESS { get; set; }
        public DbSet<SEC_COMPANIES_ACCESS_REQUESTS> SEC_COMPANIES_ACCESS_REQUESTS { get; set; }
        public DbSet<SEC_PERMISSIONS> SEC_PERMISSIONS { get; set; }
        public DbSet<SEC_ROLES> SEC_ROLES { get; set; }
        public DbSet<SEC_ROLE_PERMISSIONS> SEC_ROLE_PERMISSIONS { get; set; }
        public DbSet<SEC_SESSIONS> SEC_SESSIONS { get; set; }
        public DbSet<SEC_USER_COMPANIES> SEC_USER_COMPANIES { get; set; }
        public DbSet<SEC_USERS> SEC_USERS { get; set; }
        public DbSet<SEC_USERS_ROLES> SEC_USERS_ROLES { get; set; }
        public DbSet<WH_COMPANIES> WH_COMPANIES { get; set; }
        public DbSet<WH_INVOICES> WH_INVOICES { get; set; }
        public DbSet<WH_INVOICE_LINES> WH_INVOICE_LINES { get; set; }
        public DbSet<WH_INVOICE_LINE_TAXES> WH_INVOICE_LINE_TAXES { get; set; }
        public DbSet<WH_ITEMS> WH_ITEMS { get; set; }
        public DbSet<WH_ITEMS_CODES> WH_ITEMS_CODES { get; set; }
        public DbSet<WH_LOCATIONS> WH_LOCATIONS { get; set; }
        public DbSet<V_SEC_USER_COMPANIES> V_SEC_USER_COMPANIES { get; set; }

        public DbSet<V_OutgoingInvoices> V_OutgoingInvoices { get; set; }
        public DbSet<V_OutgoingInvoiceLines> V_OutgoingInvoiceLines { get; set; }
        public DbSet<V_IncomingInvoices> V_IncomingInvoices { get; set; }
        public DbSet<V_IncomingInvoiceLines> V_IncomingInvoiceLines { get; set; }
        //public DbSet<USERS> USERS { get; set; }
    }
}